<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en">

    <title>Spring Framework Guru</title>

    <!--/*/ <th:block th:include="fragments/headerinc :: head"></th:block> /*/-->
</head>
<body>
<div class="container">
    <!--/*/ <th:block th:include="fragments/header :: header"></th:block> /*/-->

    <h2 th:text="#{web.common.add}">Customer Details</h2>
    <div>
        <form class="form-horizontal" th:object="${customer}" th:action="@{/customer}" method="post">
            <input type="hidden" th:field="*{customerId}"/>
            <div class="form-group">
                <label class="col-sm-2 control-label" th:text="#{web.customer.name}">Customer Name:</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" th:field="*{customerName}"/>
                </div>
            </div>
            <div class="row">
                <button type="submit" class="btn btn-default" th:text="#{web.common.submit}">Submit</button>
            </div>
        </form>
    </div>
</div>

</body>
</html>